POV-Ray : Newsgroups : povray.newusers : pigment relative to normal vector? : Re: pigment relative to normal vector? Server Time
4 Nov 2024 23:18:22 EST (-0500)
  Re: pigment relative to normal vector?  
From: Tom Melly
Date: 10 Oct 2002 05:51:46
Message: <3da54db2$1@news.povray.org>
"Justin Smith" <t74### [at] yahoocom> wrote in message
news:web.3da4e854a8bbf4f436ff7d20@news.povray.org...

As advised, use "slope" - here's a simple example:

#declare MountTex =
texture{
  slope y
  texture_map{
    [0.64 pigment{Grey}]
    [0.66 pigment{White}]
  }
}

sphere{0,5 texture{MountTex}}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.